package com.chenzehe.java.core;

public class Constants {

	public final static String HTML_PATH_FRONT = "/html/";
	public final static String HTML_SUFFIX_FRONT = ".html";

	public final static String PAGE_PATH_404 = "404.htm";
	public final static String PAGE_PATH_500 = "500.htm";
	public final static String PAGE_PATH_403 = "403.htm";

	public static enum OKORNOT {
		IS_OK(1), // 数据库字段is为1
		IS_NOT(0);// 数据库字段is为0

		int state;

		private OKORNOT(int state) {
			this.state = state;
		}

		public int getState() {
			return this.state;
		}
	}

}
